import request from '@/utils/request'


export function messageNum() {
    return request({
        url: '/portal/bmsMsg/count',
        method: 'get'
    })
}

export function messageList(query) {
    return request({
        url: '/portal/bmsMsg/list',
        method: 'get',
        params: query
    })
}


export function batchRead(query) {
    return request({
        url: '/portal/bmsMsg/batchRead',
        method: 'get',
        params: query
    })
}